const ApiWorkflow = {
  /**
   * GET
   */
  todos: "/api/v1/workflow/todos",
  /**
   * method GET
   * query: {workflowInstanceId: numberÏ}
   */
  detail: "/api/v1/workflow/detail",
  /**
   * 审核
   * @method: POST
   * @parmas: {
   *  workItemId: number 工作项ID，待审批的工作项ID;
   *  auditResult: 1 | 2 审核结果，1-通过，2-拒绝;
   *  auditRemark: string 备注，审批意见或说明;
   * }
   */
  approveAudit: "/api/v1/workflow/approveAudit",
  /**
   * 填报工费申请信息（应该是废弃了）
   */
  payrollApply: "/api/v1/workflow/payrollApply",
  /**
   * 批量申请工费
   */
  batchPayrollApply: "/api/v1/workflow/batchPayrollApply",
  /**
   * 获取工作流列表
   */
  workFlowDefinition: "/api/v1/workflow/workFlowDefinition",
  // 创建签报
  signReport: "/api/v1/workflow/signReport",
  /**
   * 审批列表
   */
  workflowInstanceList: "/api/v1/workflow/instances",

  /**
   * 签报详情
   */
  signReportDetail: "/api/v1/workflow/signReport/detail",

  /**
   * 绑定审批流
   */
  submit: "/api/v1/workflow/submit",

  taskRemind: "/api/v1/workflow/taskRemind",
};

export default ApiWorkflow;
